package thread;

import generate.Student;

import java.util.concurrent.Callable;

/**
 * @program: baseModule
 * @description:
 * @author: zhanghz001
 * @create: 2020-10-25 15:31
 **/
public class MyCallable implements Callable<Student> {
    @Override
    public Student call() throws Exception {
        for (int i = 0; i < 100; i++) {

            System.out.println(Thread.currentThread().getName() + "----" + i);
        }
        return null;
    }
}
